package com.flyee.communicate.character{
	
	import com.flyee.communicate.Handler;
	import com.flyee.io.socket.command.down.CommandDown;
	import com.flyee.ro.commanddown.LoginDown;
	import com.flyee.utils.MyLog;
	import com.flyee.utils.Obsevable;
	
	public class LoginHandler extends Obsevable implements Handler{
		
		public function LoginHandler(){
		}

		public function process(cmd:CommandDown) : void{
			var command : LoginDown = cmd as LoginDown;
	        MyLog.debug("login success");
	        setChanged();	        
	        notifyObsevers("choiceAvatar");
		}
		
	}
}